package com.bd.wechat.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 加盟审批记录
 * </p>
 *
 * @author linhs
 * @since 2024-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("f_franchise_approve_record")
public class FranchiseApproveRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long shopFranchiseId;

    /**
     * 审批用户ID
     */
    private Long sysUserId;

    /**
     * 审批用户名字
     */
    private String sysUserName;

    /**
     * 审批状态
     * 0-未审批
     * 1-审批通过
     * 2-未通过'
     */
    private Integer approveStatus;

    /**
     * 拒绝原因
     */
    private String rejectNote;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 是否删除
     * 0-未删除
     * 1-删除
     */
    private Integer isDel;


}
